//
//  ThemeManager.m
//  ProjectDemo
//
//  Created by IOS3 on 2018/10/24.
//  Copyright © 2018 IOS3. All rights reserved.
//

#import "APPThemeManager.h"

@implementation APPThemeManager

+ (instancetype)sharedInstance {
    static APPThemeManager *instance;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[APPThemeManager alloc] init];
    });
    return instance;
}


- (void)setThemeType:(APPThemeType)themeType {
    _themeType = themeType; 
    [[NSNotificationCenter defaultCenter] postNotificationName:KEY_changeThemeNotify object:nil userInfo:nil];
}


@end
